# @Author   :   hany
# @Time      :  2021/4/12
from basic.UIParent import UIParent
from basic.utils.asserts import asserts
from commen.page.ann.ycflPage import ycflPage
from commen.page.ann.indexPage import IndexPage
from commen.page.ann.myPage import myPage


class YcflCase(UIParent):

    @classmethod
    def test_ycflIndex(self):
        '''邕城福利首页页面校验'''

        myPage.loginByStatu()
        IndexPage.clickIndex()
        ycflPage.clickBtn()
        ycflText = ycflPage.getText()
        asserts.true(ycflText,  "邕城福利首页页面校验")
